﻿using System;

namespace DapperLambdaSQL.Model.Exceptions
{
    public class BuildSQLException : Exception
    {
        private readonly string message = "构建SQL异常";
        public override string Message => message;

        /// <summary>
        /// 构建SQL异常
        /// </summary>
        /// <param name="message"></param>
        public BuildSQLException(string message)
        {
            this.message = $"{this.message}:{message}";
        }
    }
}